<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__ADMIN__/css/pintuer.css">
<link rel="stylesheet" href="__ADMIN__/css/admin.css">
<script src="__ADMIN__/js/jquery.js"></script>
<script src="__ADMIN__/js/pintuer.js"></script>

<!--百度编辑器-->
  <script type="text/javascript" charset="utf-8" src="__UEDITOR__/ueditor.config.js"></script>
  <script type="text/javascript" charset="utf-8" src="__UEDITOR__/ueditor.all.min.js"> </script>
  <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
  <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
  <script type="text/javascript" charset="utf-8" src="__UEDITOR__/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="edi"><strong><span class="icon-pencil-square-o"></span>编辑公告通知</strong></div>
  <div class="body-content">
      <form method="post" class="form-x" action="" enctype="multipart/form-data">
          <div class="form-group">
              <div class="label">
                  <label>公告通知名称：</label>
              </div>
              <div class="field">
                  <input type="text" class="input w50" value="{$nots.titles}" name="titles" placeholder="请输入公告通知名称..." />
                  <div class="tips"></div>
              </div>
          </div>
            <input type="hidden" value="{$nots.id}" />
            <div class="form-group">
              <div class="label">
                  <label>公告通知链接：</label>
              </div>
              <div class="field">
                
                    <input type="text" class="input w50" value="{$nots.link}" name="link" placeholder="请输入公告通知链接..."  />
               
                  
                  <div class="tips"></div>
              </div>
          </div>
          <div class="form-group">
              <div class="label">
                  <label>公告通知内容：</label>
              </div>
              <div class="field">
                   <script id="contents" name="contents" type="text/plain" style="width:375px;height:500px;">{$nots.contents}</script>
                     <div class="tips"></div>
              </div>
          </div>
          <div class="form-group">
              <div class="label">
                  <label>排序：</label>
              </div>
              <div class="field">
                  <input type="number" class="input w50" value="{$nots.sort}" name="sort" />
                  <div class="tips"></div>
              </div>
          </div>
          <div class="form-group">
              <div class="label">
                  <label>浏览次数：</label>
              </div>
              <div class="field">
                  <input type="number" class="input w50" value="{$nots.frequency}" name="frequency"  readonly/>
                  <div class="tips"></div>
              </div>
          </div>
          <div class="form-group">
              <div class="label">
                  <label>状态：</label>
              </div>
              <div class="field" style="padding-top:8px;">
                  启用 <input name="status" value="1" {if condition="$nots.status eq 1"}checked{/if} type="radio" />
                  禁用 <input name="status" value="0" type="radio" {if condition="$nots.status eq 0"}{/if} />
              </div>
          </div>
          <div class="form-group">
              <div class="label">
                <label></label>
              </div>
              <div class="field">
                <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
              </div>
          </div>
      </form>
  </div>
</div>
<script type="text/javascript">

    //实例化编辑器
    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
    var ue = UE.getEditor('contents');

</script>
</body>
</html>